package com.mingqijia.gassafety.authority.dal.command;

import com.mingqijia.gassafety.shared.cqrs.CreateCommand;
import com.mingqijia.gassafety.shared.enums.ResourceType;
import com.mingqijia.gassafety.shared.enums.RunningState;
import lombok.Builder;
import lombok.Data;

/**
 * 新建命令
 * @author Damon S.
 * @version v0.2
 * @date 2021-06-19
 */
@Data
@Builder
public class CreateResourceCommand implements CreateCommand {
    private String name;
    private ResourceType type;
    private String url;
    private String icon;
    private String funcCode;
    private RunningState state;
    private Integer ordinal;
    private String parentId;
    private String spId;
    private String createdBy;
}
